You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layout.tsx 334B

1234567891011121314151617
  1. import Main from './layout-main'
  2. const DatasetDetailLayout = async (
  3. props: {
  4. children: React.ReactNode
  5. params: Promise<{ datasetId: string }>
  6. },
  7. ) => {
  8. const params = await props.params
  9. const {
  10. children,
  11. } = props
  12. return <Main params={(await params)}>{children}</Main>
  13. }
  14. export default DatasetDetailLayout